import requests


# url = "https://web3.okx.com/api/v5/dex/market/price"
url = "https://www.okx.com/api/v5/public/instruments?instType=SPOT"
response = requests.get(url)
data = response.json()
print(data)